home *** CD-ROM | disk | FTP | other *** search
/ Alles Voor Internet / Tout Pour Internet / alles voor internet.iso / MacInternet™ / Archive-tools / MacGzip 0.2.2 / Mac docs / MacGzip FAQ < prev   
Text File  |  1994-07-10  |  5KB  |  115 lines

  1. • I don't like the interface / I'd like batch processing
  2.  
  3. If you don't want to use the menus to change mode and process, use the Drag & Drop mode:
  4.  
  5. 1: Quit MacGzip (if it is open)
  6.  
  7. This is important!. MacGzip answers to 'Open Document' in the old style (without High Level Events); so if you drop several files MacGzip's open icon; only the first will be open
  8.  
  9. 2: If the files you want to compress/uncompress are in the same folder, select 
  10. them all from the Finder and Drag & Drop them on MacGzip icon; if the files are 
  11. in different folders; you will have to put the parent folder in 'list by name' 
  12. mode before the selection.
  13.  
  14. 3: If you want
  15.  
  16.     a) Compress them in ASCII mode: Hold option and 'a' keys until window appears
  17.     b) Compress them in binary mode: Hold option and 'b' keys until window appears
  18.     c) Uncompress them in ASCII mode: Hold 'a' key until window appears
  19.     d) Uncompress them in binary mode: Hold 'b' key until window appears
  20.  
  21. Note that startup keys can be unnecesary or ignored depending on your settings in the preferences dialog.
  22.  
  23. • What should I put in the 'gzip suffix' preference?
  24.  
  25. For all operating systems, ".gz", ".z", ".Z", ".taz", ".tgz", "-gz", "-z" and "_z" are accepted suffixes, in addition to the value of the --suffix option. (".tgz" is a useful convention for tar.z)
  26.  
  27. The --suffix option is the value you enter in 'gzip suffix' preference; so you should let it empty if you are using the standard gzip 1.2.4.
  28.  
  29. If your UNIX host has an older gzip (which creates compressed files with .z) you should put '.z' in this field of macgzip preferences; but the best option would be to update your UNIX gzip to the last version (currently -03/19/94- is 1.2.4).
  30.  
  31. • What is the meaning of 'ASCII' compression/decompression?
  32.  
  33.      -a --ascii
  34.           Ascii text mode: convert end-of-lines using local  con-
  35.           ventions.  This  option  is supported only on some non-
  36.           Unix systems.
  37.  
  38. let's have the ASCII file 'pc.txt' on an DOS machine
  39.  
  40. we can make:
  41.   gzip -c pc.txt > pc.gz
  42.   gzip -ca pc.txt > pca.gz
  43.  
  44. then, we put this files in our mac and:
  45.   gzip 'uncompress' 'binary' of pc.gz gives us a file with EOL=<CR><LF> (bad)
  46.   gzip 'uncompress' 'binary' of pca.gz gives us a file with EOL=<LF> (bad)
  47.   gzip 'uncompress' 'ascii' of pc.gz gives us a file with EOL=<CR><CR> (bad)
  48.   gzip 'uncompress' 'ascii' of pca.gz gives us a file with EOL=<CR> (good!)
  49.  
  50. • My Mac-dhqx-application does not recognice gunziped files.
  51.  
  52. A file with .hqx suffix IS A TEXT FILE; so it should be uncompressed in ASCII mode. This not only will put 'Macintosh end-of-lines' (which shouldn't make any difference to your debinhexer), but also will set the type of the resulting file to 'TEXT'.
  53.  
  54. Anyway; if you have gunziped your foo.hqx in binary mode; you can use 'StuffIt Expander', since (in Drag&Drop mode) it eats any kind of file.
  55.  
  56. • What is the meaning of 'binary' in 'gzip' menu?
  57.  
  58. Binary means that you get a file which is exactly the same file (byte by byte) which was compressed; you should use this option for any non-text file.
  59.  
  60. If you uncompress a binary file (like a file.tar.gz or a file.tif.gz) in ASCII mode; you will loose the file.
  61.  
  62. If you uncompress a text file (like a file.hqx.gz or a text.gz) in binary mode; you can recover the file in several ways.
  63.  
  64. • MacGzip reports a CRC error!
  65.  
  66. This error appears when the file is corrupted or, most frequently, when the file has been incorrectly transferred
  67.  
  68. Gziped files ARE PURE BINARIES. (raw data, binary, not MacBinary nor ASCII)
  69. When you download a gif file; you set your communications software in binary mode; do the same with gziped files.
  70.  
  71. Here you are a few hints:
  72.  
  73. 1: Fetch
  74.  
  75.     Add the following entries to 'suffix mapping' preferences:
  76.  
  77.        suffix   type    creator    name        transfer  as...
  78.  
  79.         .gz     Gzip     Gzip     gziped           binary
  80.         .tgz    Gzip     Gzip     tar.gz           binary
  81.         .Z      ZIVU     Gzip     compressed       binary
  82.         .z      pZIP     Gzip     pkziped          binary
  83.  
  84. 2: Zterm (I'm not a Zterm user, so I'm not sure about this point)
  85.  
  86. Add strings (using ResEdit or similar) to resources 'STR# 335' and 'STR# 330'
  87.  
  88. Example:
  89.     For gzip files:    1GzipGzip.gz
  90.  
  91. (Read ZTerm documentation for more information)
  92.  
  93.  
  94. 3: Anarchie & Peter Lewis' ftpd
  95.  
  96. They use Fetch Preferences, so get Fetch, and go to point 1
  97.  
  98.  
  99. ===
  100. Note: MacGzip 0.2.2 can read Fetch preferences to map suffixes; so even if you don't use Fetch, you should copy a 'Fetch Prefs' file in your Preferences folder.
  101.  
  102. • Do you have a s-mail address?
  103.  
  104.     Jose Antonio Gutierrez Elipe
  105.     Francisco Jose Seron Arbeloa
  106.  
  107.     Centro Politecnico Superior Ingenieria Industrial
  108.                Universidad de Zaragoza
  109.  
  110.     (Dpto. Lenguajes y Sistemas Informaticos)
  111.  
  112.     Maria de Luna, 3            50015 ZARAGOZA, SPAIN
  113.  
  114.  
  115.